﻿using DAL;
using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BLL
{
    public class Resource_BLL
    {
        Resource_DAL resource_DAL = new Resource_DAL();

        public bool Add(Resource resource)
        {
            return resource_DAL.Add(resource);
        }

        public Int64 Add2(Resource resource)
        {
            return resource_DAL.Add2(resource);
        }

        public Resource GetById(Int64 id)
        {
            return resource_DAL.GetById(id);
        }

        public Resource GetByCreateTime(DateTime createTime)
        {
            return resource_DAL.GetByCreateTime(createTime);
        }
    }
}
